<?xml version='1.0' encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <link href="cpip.css" rel="stylesheet" type="text/css" />
    <title>File: /Users/paulross/dev/linux/linux-3.13/arch/x86/include/uapi/asm/signal.h</title>
  </head>
  <body>
    <h1>File: /Users/paulross/dev/linux/linux-3.13/arch/x86/include/uapi/asm/signal.h</h1>
    <p>Green shading in the line number column
means the source is part of the translation unit, red means it is conditionally excluded.
Highlighted line numbers link to the translation unit page. Highlighted macros link to
the macro page.</p>
    <pre><a name="1" /><span class="True">       1:</span> <span class="f">#</span><span class="n">ifndef</span> <a href="cpu.c_macros_noref.html#_X1VBUElfQVNNX1g4Nl9TSUdOQUxfSF8w"><span class="b">_UAPI_ASM_X86_SIGNAL_H</span></a>
<a name="2" /><span class="True">       2:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_X1VBUElfQVNNX1g4Nl9TSUdOQUxfSF8w"><span class="b">_UAPI_ASM_X86_SIGNAL_H</span></a>
<a name="3" /><span class="True">       3:</span> 
<a name="4" /><span class="True">       4:</span> <span class="f">#</span><span class="n">ifndef</span> <span class="b">__ASSEMBLY__</span>
<a name="5" /><span class="True">       5:</span> <span class="f">#</span><span class="n">include</span> <span class="f">&lt;</span><span class="b">linux</span><span class="f">/</span><span class="b">types</span><span class="f">.</span><span class="b">h</span><span class="f">&gt;</span>
<a name="6" /><span class="True">       6:</span> <span class="f">#</span><span class="n">include</span> <span class="f">&lt;</span><span class="b">linux</span><span class="f">/</span><span class="b">time</span><span class="f">.</span><span class="b">h</span><span class="f">&gt;</span>
<a name="7" /><span class="True">       7:</span> <span class="f">#</span><span class="n">include</span> <span class="f">&lt;</span><span class="b">linux</span><span class="f">/</span><span class="b">compiler</span><span class="f">.</span><span class="b">h</span><span class="f">&gt;</span>
<a name="8" /><span class="True">       8:</span> 
<a name="9" /><span class="True">       9:</span> <span class="k">/* Avoid too many header ordering problems.  */</span>
<a name="10" /><span class="True">      10:</span> <span class="m">struct</span> <span class="b">siginfo</span><span class="f">;</span>
<a name="11" /><span class="True">      11:</span> 
<a name="12" /><span class="False">      12:</span> <span class="f">#</span><span class="n">ifndef</span> <a href="cpu.c_macros_ref.html#_X19LRVJORUxfX18w"><span class="b">__KERNEL__</span></a>
<a name="13" /><span class="False">      13:</span> <span class="k">/* Here we must cater to libcs that poke about in kernel headers.  */</span>
<a name="14" /><span class="False">      14:</span> 
<a name="15" /><span class="False">      15:</span> <span class="f">#</span><span class="n">define</span> <span class="b">NSIG</span>        <span class="c">32</span>
<a name="16" /><span class="False">      16:</span> <span class="m">typedef</span> <span class="m">unsigned</span> <span class="m">long</span> <span class="b">sigset_t</span><span class="f">;</span>
<a name="17" /><span class="False">      17:</span> 
<a name="18" /><span class="True">      18:</span> <span class="f">#</span><span class="n">endif</span> <span class="k">/* __KERNEL__ */</span>
<a name="19" /><span class="True">      19:</span> <span class="f">#</span><span class="n">endif</span> <span class="k">/* __ASSEMBLY__ */</span>
<a name="20" /><span class="True">      20:</span> 
<a name="21" /><span class="True">      21:</span> 
<a name="22" /><span class="True">      22:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHSFVQXzA_"><span class="b">SIGHUP</span></a>         <span class="c">1</span>
<a name="23" /><span class="True">      23:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHSU5UXzA_"><span class="b">SIGINT</span></a>         <span class="c">2</span>
<a name="24" /><span class="True">      24:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHUVVJVF8w"><span class="b">SIGQUIT</span></a>         <span class="c">3</span>
<a name="25" /><span class="True">      25:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHSUxMXzA_"><span class="b">SIGILL</span></a>         <span class="c">4</span>
<a name="26" /><span class="True">      26:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHVFJBUF8w"><span class="b">SIGTRAP</span></a>         <span class="c">5</span>
<a name="27" /><span class="True">      27:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHQUJSVF8w"><span class="b">SIGABRT</span></a>         <span class="c">6</span>
<a name="28" /><span class="True">      28:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHSU9UXzA_"><span class="b">SIGIOT</span></a>         <span class="c">6</span>
<a name="29" /><span class="True">      29:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHQlVTXzA_"><span class="b">SIGBUS</span></a>         <span class="c">7</span>
<a name="30" /><span class="True">      30:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHRlBFXzA_"><span class="b">SIGFPE</span></a>         <span class="c">8</span>
<a name="31" /><span class="True">      31:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_ref.html#_U0lHS0lMTF8w"><span class="b">SIGKILL</span></a>         <span class="c">9</span>
<a name="32" /><span class="True">      32:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHVVNSMV8w"><span class="b">SIGUSR1</span></a>        <span class="c">10</span>
<a name="33" /><span class="True">      33:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHU0VHVl8w"><span class="b">SIGSEGV</span></a>        <span class="c">11</span>
<a name="34" /><span class="True">      34:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHVVNSMl8w"><span class="b">SIGUSR2</span></a>        <span class="c">12</span>
<a name="35" /><span class="True">      35:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHUElQRV8w"><span class="b">SIGPIPE</span></a>        <span class="c">13</span>
<a name="36" /><span class="True">      36:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHQUxSTV8w"><span class="b">SIGALRM</span></a>        <span class="c">14</span>
<a name="37" /><span class="True">      37:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHVEVSTV8w"><span class="b">SIGTERM</span></a>        <span class="c">15</span>
<a name="38" /><span class="True">      38:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHU1RLRkxUXzA_"><span class="b">SIGSTKFLT</span></a>    <span class="c">16</span>
<a name="39" /><span class="True">      39:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHQ0hMRF8w"><span class="b">SIGCHLD</span></a>        <span class="c">17</span>
<a name="40" /><span class="True">      40:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHQ09OVF8w"><span class="b">SIGCONT</span></a>        <span class="c">18</span>
<a name="41" /><span class="True">      41:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHU1RPUF8w"><span class="b">SIGSTOP</span></a>        <span class="c">19</span>
<a name="42" /><span class="True">      42:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHVFNUUF8w"><span class="b">SIGTSTP</span></a>        <span class="c">20</span>
<a name="43" /><span class="True">      43:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHVFRJTl8w"><span class="b">SIGTTIN</span></a>        <span class="c">21</span>
<a name="44" /><span class="True">      44:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHVFRPVV8w"><span class="b">SIGTTOU</span></a>        <span class="c">22</span>
<a name="45" /><span class="True">      45:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHVVJHXzA_"><span class="b">SIGURG</span></a>        <span class="c">23</span>
<a name="46" /><span class="True">      46:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHWENQVV8w"><span class="b">SIGXCPU</span></a>        <span class="c">24</span>
<a name="47" /><span class="True">      47:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHWEZTWl8w"><span class="b">SIGXFSZ</span></a>        <span class="c">25</span>
<a name="48" /><span class="True">      48:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHVlRBTFJNXzA_"><span class="b">SIGVTALRM</span></a>    <span class="c">26</span>
<a name="49" /><span class="True">      49:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHUFJPRl8w"><span class="b">SIGPROF</span></a>        <span class="c">27</span>
<a name="50" /><span class="True">      50:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHV0lOQ0hfMA__"><span class="b">SIGWINCH</span></a>    <span class="c">28</span>
<a name="51" /><span class="True">      51:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHSU9fMA__"><span class="b">SIGIO</span></a>        <span class="c">29</span>
<a name="52" /><span class="True">      52:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHUE9MTF8w"><span class="b">SIGPOLL</span></a>        <a href="cpu.c_macros_noref.html#_U0lHSU9fMA__"><span class="b">SIGIO</span></a>
<a name="53" /><span class="True">      53:</span> <span class="k">/*</span>
<a name="54" /><span class="True">      54:</span> <span class="k">#define SIGLOST        29</span>
<a name="55" /><span class="True">      55:</span> <span class="k">*/</span>
<a name="56" /><span class="True">      56:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHUFdSXzA_"><span class="b">SIGPWR</span></a>        <span class="c">30</span>
<a name="57" /><span class="True">      57:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHU1lTXzA_"><span class="b">SIGSYS</span></a>        <span class="c">31</span>
<a name="58" /><span class="True">      58:</span> <span class="f">#</span><span class="n">define</span>    <a href="cpu.c_macros_noref.html#_U0lHVU5VU0VEXzA_"><span class="b">SIGUNUSED</span></a>    <span class="c">31</span>
<a name="59" /><span class="True">      59:</span> 
<a name="60" /><span class="True">      60:</span> <span class="k">/* These should not be considered constants from userland.  */</span>
<a name="61" /><span class="True">      61:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_ref.html#_U0lHUlRNSU5fMA__"><span class="b">SIGRTMIN</span></a>    <span class="c">32</span>
<a name="62" /><span class="True">      62:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHUlRNQVhfMA__"><span class="b">SIGRTMAX</span></a>    <span class="b">_NSIG</span>
<a name="63" /><span class="True">      63:</span> 
<a name="64" /><span class="True">      64:</span> <span class="k">/*</span>
<a name="65" /><span class="True">      65:</span> <span class="k"> * SA_FLAGS values:</span>
<a name="66" /><span class="True">      66:</span> <span class="k"> *</span>
<a name="67" /><span class="True">      67:</span> <span class="k"> * SA_ONSTACK indicates that a registered stack_t will be used.</span>
<a name="68" /><span class="True">      68:</span> <span class="k"> * SA_RESTART flag to get restarting signals (which were the default long ago)</span>
<a name="69" /><span class="True">      69:</span> <span class="k"> * SA_NOCLDSTOP flag to turn off SIGCHLD when children stop.</span>
<a name="70" /><span class="True">      70:</span> <span class="k"> * SA_RESETHAND clears the handler when the signal is delivered.</span>
<a name="71" /><span class="True">      71:</span> <span class="k"> * SA_NOCLDWAIT flag on SIGCHLD to inhibit zombies.</span>
<a name="72" /><span class="True">      72:</span> <span class="k"> * SA_NODEFER prevents the current signal from being masked in the handler.</span>
<a name="73" /><span class="True">      73:</span> <span class="k"> *</span>
<a name="74" /><span class="True">      74:</span> <span class="k"> * SA_ONESHOT and SA_NOMASK are the historical Linux names for the Single</span>
<a name="75" /><span class="True">      75:</span> <span class="k"> * Unix names RESETHAND and NODEFER respectively.</span>
<a name="76" /><span class="True">      76:</span> <span class="k"> */</span>
<a name="77" /><span class="True">      77:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0FfTk9DTERTVE9QXzA_"><span class="b">SA_NOCLDSTOP</span></a>    <span class="c">0x00000001u</span>
<a name="78" /><span class="True">      78:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0FfTk9DTERXQUlUXzA_"><span class="b">SA_NOCLDWAIT</span></a>    <span class="c">0x00000002u</span>
<a name="79" /><span class="True">      79:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0FfU0lHSU5GT18w"><span class="b">SA_SIGINFO</span></a>    <span class="c">0x00000004u</span>
<a name="80" /><span class="True">      80:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_ref.html#_U0FfT05TVEFDS18w"><span class="b">SA_ONSTACK</span></a>    <span class="c">0x08000000u</span>
<a name="81" /><span class="True">      81:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0FfUkVTVEFSVF8w"><span class="b">SA_RESTART</span></a>    <span class="c">0x10000000u</span>
<a name="82" /><span class="True">      82:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0FfTk9ERUZFUl8w"><span class="b">SA_NODEFER</span></a>    <span class="c">0x40000000u</span>
<a name="83" /><span class="True">      83:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0FfUkVTRVRIQU5EXzA_"><span class="b">SA_RESETHAND</span></a>    <span class="c">0x80000000u</span>
<a name="84" /><span class="True">      84:</span> 
<a name="85" /><span class="True">      85:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0FfTk9NQVNLXzA_"><span class="b">SA_NOMASK</span></a>    <a href="cpu.c_macros_noref.html#_U0FfTk9ERUZFUl8w"><span class="b">SA_NODEFER</span></a>
<a name="86" /><span class="True">      86:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0FfT05FU0hPVF8w"><span class="b">SA_ONESHOT</span></a>    <a href="cpu.c_macros_noref.html#_U0FfUkVTRVRIQU5EXzA_"><span class="b">SA_RESETHAND</span></a>
<a name="87" /><span class="True">      87:</span> 
<a name="88" /><span class="True">      88:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0FfUkVTVE9SRVJfMA__"><span class="b">SA_RESTORER</span></a>    <span class="c">0x04000000</span>
<a name="89" /><span class="True">      89:</span> 
<a name="90" /><span class="True">      90:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_TUlOU0lHU1RLU1pfMA__"><span class="b">MINSIGSTKSZ</span></a>    <span class="c">2048</span>
<a name="91" /><span class="True">      91:</span> <span class="f">#</span><span class="n">define</span> <a href="cpu.c_macros_noref.html#_U0lHU1RLU1pfMA__"><span class="b">SIGSTKSZ</span></a>    <span class="c">8192</span>
<a name="92" /><span class="True">      92:</span> 
<a name="93" /><span class="True">      93:</span> <span class="f">#</span><span class="n">include</span> <span class="f">&lt;</span><span class="m">asm</span><span class="f">-</span><span class="b">generic</span><span class="f">/</span><span class="b">signal</span><span class="f">-</span><span class="b">defs</span><span class="f">.</span><span class="b">h</span><span class="f">&gt;</span>
<a name="94" /><span class="True">      94:</span> 
<a name="95" /><span class="True">      95:</span> <span class="f">#</span><span class="n">ifndef</span> <span class="b">__ASSEMBLY__</span>
<a name="96" /><span class="True">      96:</span> 
<a name="97" /><span class="True">      97:</span> 
<a name="98" /><span class="False">      98:</span> <span class="f">#</span> <span class="n">ifndef</span> <a href="cpu.c_macros_ref.html#_X19LRVJORUxfX18w"><span class="b">__KERNEL__</span></a>
<a name="99" /><span class="False">      99:</span> <span class="k">/* Here we must cater to libcs that poke about in kernel headers.  */</span>
<a name="100" /><span class="False">     100:</span> <span class="f">#</span><span class="n">ifdef</span> <span class="b">__i386__</span>
<a name="101" /><span class="False">     101:</span> 
<a name="102" /><span class="False">     102:</span> <span class="m">struct</span> <span class="b">sigaction</span> <span class="f">{</span>
<a name="103" /><span class="False">     103:</span>     <span class="m">union</span> <span class="f">{</span>
<a name="104" /><span class="False">     104:</span>       <span class="b">__sighandler_t</span> <span class="b">_sa_handler</span><span class="f">;</span>
<a name="105" /><span class="False">     105:</span>       <span class="m">void</span> <span class="f">(</span><span class="f">*</span><span class="b">_sa_sigaction</span><span class="f">)</span><span class="f">(</span><span class="m">int</span><span class="f">,</span> <span class="m">struct</span> <span class="b">siginfo</span> <span class="f">*</span><span class="f">,</span> <span class="m">void</span> <span class="f">*</span><span class="f">)</span><span class="f">;</span>
<a name="106" /><span class="False">     106:</span>     <span class="f">}</span> <span class="b">_u</span><span class="f">;</span>
<a name="107" /><span class="False">     107:</span>     <span class="b">sigset_t</span> <span class="b">sa_mask</span><span class="f">;</span>
<a name="108" /><span class="False">     108:</span>     <span class="m">unsigned</span> <span class="m">long</span> <span class="b">sa_flags</span><span class="f">;</span>
<a name="109" /><span class="False">     109:</span>     <span class="m">void</span> <span class="f">(</span><span class="f">*</span><span class="b">sa_restorer</span><span class="f">)</span><span class="f">(</span><span class="m">void</span><span class="f">)</span><span class="f">;</span>
<a name="110" /><span class="False">     110:</span> <span class="f">}</span><span class="f">;</span>
<a name="111" /><span class="False">     111:</span> 
<a name="112" /><span class="False">     112:</span> <span class="f">#</span><span class="n">define</span> <span class="b">sa_handler</span>    <span class="b">_u</span><span class="f">.</span><span class="b">_sa_handler</span>
<a name="113" /><span class="False">     113:</span> <span class="f">#</span><span class="n">define</span> <span class="b">sa_sigaction</span>    <span class="b">_u</span><span class="f">.</span><span class="b">_sa_sigaction</span>
<a name="114" /><span class="False">     114:</span> 
<a name="115" /><span class="False">     115:</span> <span class="f">#</span><span class="n">else</span> <span class="k">/* __i386__ */</span>
<a name="116" /><span class="False">     116:</span> 
<a name="117" /><span class="False">     117:</span> <span class="m">struct</span> <span class="b">sigaction</span> <span class="f">{</span>
<a name="118" /><span class="False">     118:</span>     <span class="b">__sighandler_t</span> <span class="b">sa_handler</span><span class="f">;</span>
<a name="119" /><span class="False">     119:</span>     <span class="m">unsigned</span> <span class="m">long</span> <span class="b">sa_flags</span><span class="f">;</span>
<a name="120" /><span class="False">     120:</span>     <span class="b">__sigrestore_t</span> <span class="b">sa_restorer</span><span class="f">;</span>
<a name="121" /><span class="False">     121:</span>     <span class="b">sigset_t</span> <span class="b">sa_mask</span><span class="f">;</span>        <span class="k">/* mask last for extensibility */</span>
<a name="122" /><span class="False">     122:</span> <span class="f">}</span><span class="f">;</span>
<a name="123" /><span class="False">     123:</span> 
<a name="124" /><span class="False">     124:</span> <span class="f">#</span><span class="n">endif</span> <span class="k">/* !__i386__ */</span>
<a name="125" /><span class="True">     125:</span> <span class="f">#</span> <span class="n">endif</span> <span class="k">/* ! __KERNEL__ */</span>
<a name="126" /><span class="True">     126:</span> 
<a name="127" /><span class="True">     127:</span> <span class="m">typedef</span> <span class="m">struct</span> <span class="b">sigaltstack</span> <span class="f">{</span>
<a name="128" /><span class="True">     128:</span>     <span class="m">void</span> <a href="cpu.c_macros_ref.html#_X191c2VyXzA_"><span class="b">__user</span></a> <span class="f">*</span><span class="b">ss_sp</span><span class="f">;</span>
<a name="129" /><span class="True">     129:</span>     <span class="m">int</span> <span class="b">ss_flags</span><span class="f">;</span>
<a name="130" /><span class="True">     130:</span>     <span class="b">size_t</span> <span class="b">ss_size</span><span class="f">;</span>
<a name="131" /><span class="True">     131:</span> <span class="f">}</span> <span class="b">stack_t</span><span class="f">;</span>
<a name="132" /><span class="True">     132:</span> 
<a name="133" /><span class="True">     133:</span> <span class="f">#</span><span class="n">endif</span> <span class="k">/* __ASSEMBLY__ */</span>
<a name="134" /><span class="True">     134:</span> 
<a name="135" /><span class="True">     135:</span> <span class="f">#</span><span class="n">endif</span> <span class="k">/* _UAPI_ASM_X86_SIGNAL_H */</span>
<a name="136" /><span class="True">     136:</span> </pre>
  </body>
</html>
